import 'dart:convert';

import 'package:flutter/material.dart';

// 格式化打印Map
void printPrettyMap(Map map) {
  JsonEncoder encoder = const JsonEncoder.withIndent('  ');
  String prettyMap = encoder.convert(map);
  debugPrint(prettyMap);
}
